package br.fmapn.register;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.fmapn.process.entities.UserBusinessProcess;

/**
 * Session Bean implementation class UserBussinesProcessService
 */
@Stateless
public class UserBussinesProcessService implements UserBussinesProcessServiceRemote {

	
	@PersistenceContext(unitName="fmapn")
	private EntityManager entityManager;
    
    public UserBussinesProcessService() {
       
    }

	@Override
	public void saveUserBusinessProcess(
			UserBusinessProcess userBusinessProcess) {
		entityManager.persist(userBusinessProcess);
		
	}

}
